<div class="refentry" lang="en" xml:lang="en"><a id="glXGetCurrentDrawable"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>glXGetCurrentDrawable — return the current drawable</p></div><div class="refsynopsisdiv"><h2>C Specification</h2><div class="funcsynopsis"><table><tr><td><code class="funcdef">GLXDrawable <b class="fsfunc">glXGetCurrentDrawable</b>(</code></td></tr></table></div></div><div class="refsect1" lang="en" xml:lang="en"><a id="description"></a><h2>Description</h2><p>
            <code class="function">glXGetCurrentDrawable</code> returns the current drawable,
            as specified by <a class="citerefentry" href="glXMakeCurrent"><span class="citerefentry"><span class="refentrytitle">glXMakeCurrent</span></span></a>.
            If there is no current drawable,
            <code class="constant">None</code> is returned.
        </p><p>
            <code class="function">glXGetCurrentDrawable</code> returns client-side information.
            It does not make a round trip to the server.
        </p></div>
        {$pipelinestall}{$examples}
        <div class="refsect1" lang="en" xml:lang="en"><a id="seealso"></a><h2>See Also</h2><p>
            <a class="citerefentry" href="glXCreateGLXPixmap"><span class="citerefentry"><span class="refentrytitle">glXCreateGLXPixmap</span></span></a>,
            <a class="citerefentry" href="glXGetCurrentContext"><span class="citerefentry"><span class="refentrytitle">glXGetCurrentContext</span></span></a>,
            <a class="citerefentry" href="glXGetCurrentDisplay"><span class="citerefentry"><span class="refentrytitle">glXGetCurrentDisplay</span></span></a>,
            <a class="citerefentry" href="glXGetCurrentReadDrawable"><span class="citerefentry"><span class="refentrytitle">glXGetCurrentReadDrawable</span></span></a>,
            <a class="citerefentry" href="glXMakeCurrent"><span class="citerefentry"><span class="refentrytitle">glXMakeCurrent</span></span></a>
        </p></div><div class="refsect1" lang="en" xml:lang="en"><div id="Copyright"><h2>Copyright</h2><p>
            Copyright © 1991-2006
            Silicon Graphics, Inc. This document is licensed under the SGI
            Free Software B License. For details, see
            <a class="ulink" href="http://oss.sgi.com/projects/FreeB/" target="_top">http://oss.sgi.com/projects/FreeB/</a>.
        </p></div></div></div>
